package com.fyzk.bean;

import java.util.List;

/**
 * Created by fanxs11 on 16/12/28.
 *
 *  积分详情
 */

public class CoinDetailBean {

    /**
     * errorCode : 0
     * msg : success
     * value : {"data":[{"id":"1002","user_id":"16101300000002","amount":"5","before_balance":"404265","after_balance":"404270","transid":"a1c2515328495960940209d5c45d9308","trans_type":"1","type":"goucai","comment":"十一选五积分赠送活动T161226000006283785","record_time":"2016-12-26 09:29:58"},{"id":"1001","user_id":"16101300000002","amount":"4","before_balance":"404261","after_balance":"404265","transid":"8650be56820db089d9e344c521415233","trans_type":"1","type":"goucai","comment":"T161226000006283785","record_time":"2016-12-26 09:29:58"},{"id":"1000","user_id":"16101300000002","amount":"5","before_balance":"404256","after_balance":"404261","transid":"67acfe2016d48f2e71289620866e8c42","trans_type":"1","type":"goucai","comment":"十一选五积分赠送活动T161226000006283783","record_time":"2016-12-26 09:20:02"},{"id":"999","user_id":"16101300000002","amount":"4","before_balance":"404252","after_balance":"404256","transid":"56fc73aa95f550a92cd2610056c251d8","trans_type":"1","type":"goucai","comment":"T161226000006283783","record_time":"2016-12-26 09:20:02"},{"id":"998","user_id":"16101300000002","amount":"5","before_balance":"404247","after_balance":"404252","transid":"b21dcf43a2891477d1892bd6e4f22881","trans_type":"1","type":"goucai","comment":"十一选五积分赠送活动T161226000006283784","record_time":"2016-12-26 09:20:02"},{"id":"997","user_id":"16101300000002","amount":"440","before_balance":"403807","after_balance":"404247","transid":"af3afdf95fd18425372695efa9d836b4","trans_type":"1","type":"goucai","comment":"T161226000006283784","record_time":"2016-12-26 09:20:01"},{"id":"996","user_id":"16101300000002","amount":"5","before_balance":"403802","after_balance":"403807","transid":"60e84184e6084390cb5f5b4b119d6f39","trans_type":"1","type":"goucai","comment":"十一选五积分赠送活动T161226000006283782","record_time":"2016-12-26 09:19:43"},{"id":"995","user_id":"16101300000002","amount":"220","before_balance":"403582","after_balance":"403802","transid":"97e63e049aa93dfc01708fb6a15b7103","trans_type":"1","type":"goucai","comment":"T161226000006283782","record_time":"2016-12-26 09:19:43"},{"id":"994","user_id":"16101300000002","amount":"5","before_balance":"403577","after_balance":"403582","transid":"eab9a0516d5c7dc77b94a86cfec99e87","trans_type":"1","type":"goucai","comment":"十一选五积分赠送活动T161226000006283781","record_time":"2016-12-26 09:09:58"},{"id":"993","user_id":"16101300000002","amount":"4","before_balance":"403573","after_balance":"403577","transid":"b4b58353933608227204b7ef8b0bf2e3","trans_type":"1","type":"goucai","comment":"T161226000006283781","record_time":"2016-12-26 09:09:58"},{"id":"992","user_id":"16101300000002","amount":"5","before_balance":"403568","after_balance":"403573","transid":"621fb6e9f5806a51e90976542ed86736","trans_type":"1","type":"goucai","comment":"十一选五积分赠送活动T161226000006283780","record_time":"2016-12-26 09:09:40"},{"id":"991","user_id":"16101300000002","amount":"220","before_balance":"403348","after_balance":"403568","transid":"1fc8320f7a66bd9f163c8b45cc386d9a","trans_type":"1","type":"goucai","comment":"T161226000006283780","record_time":"2016-12-26 09:09:40"},{"id":"990","user_id":"16101300000002","amount":"5","before_balance":"403343","after_balance":"403348","transid":"3c086e3e1e92c22ee03394b8ee6ef1cc","trans_type":"1","type":"goucai","comment":"十一选五积分赠送活动T161226000006282780","record_time":"2016-12-26 09:02:53"},{"id":"989","user_id":"16101300000002","amount":"6844","before_balance":"396499","after_balance":"403343","transid":"b793d6937a313ab8918d3566dcd5ab94","trans_type":"1","type":"goucai","comment":"T161226000006282780","record_time":"2016-12-26 09:02:52"},{"id":"988","user_id":"16101300000002","amount":"5","before_balance":"396494","after_balance":"396499","transid":"410d106786373240e2b7cae28c0ee30b","trans_type":"1","type":"goucai","comment":"十一选五积分赠送活动T161226000006283779","record_time":"2016-12-26 08:59:43"},{"id":"987","user_id":"16101300000002","amount":"220","before_balance":"396274","after_balance":"396494","transid":"5386eb12b0ecc5843bcae9d560fbd9ab","trans_type":"1","type":"goucai","comment":"T161226000006283779","record_time":"2016-12-26 08:59:43"},{"id":"986","user_id":"16101300000002","amount":"5","before_balance":"396269","after_balance":"396274","transid":"294e93ff46fd0385f7d7d32bc46887f2","trans_type":"1","type":"goucai","comment":"十一选五积分赠送活动T161226000006283778","record_time":"2016-12-26 08:54:51"},{"id":"985","user_id":"16101300000002","amount":"220","before_balance":"396049","after_balance":"396269","transid":"de4823d1c9b290739415741c4141a15e","trans_type":"1","type":"goucai","comment":"T161226000006283778","record_time":"2016-12-26 08:54:50"},{"id":"984","user_id":"16101300000002","amount":"5","before_balance":"396044","after_balance":"396049","transid":"d28a5b6c7f542b96dd55fd91a382d721","trans_type":"1","type":"goucai","comment":"十一选五积分赠送活动T161226000006283777","record_time":"2016-12-26 08:54:05"},{"id":"983","user_id":"16101300000002","amount":"110","before_balance":"395934","after_balance":"396044","transid":"b309a842de6eaabf1a4c03b82668dc10","trans_type":"1","type":"goucai","comment":"T161226000006283777","record_time":"2016-12-26 08:54:04"}],"page":1,"perpage":20,"totalpage":35,"total":"690"}
     */

    private String errorCode;
    private String msg;
    /**
     * data : [{"id":"1002","user_id":"16101300000002","amount":"5","before_balance":"404265","after_balance":"404270","transid":"a1c2515328495960940209d5c45d9308","trans_type":"1","type":"goucai","comment":"十一选五积分赠送活动T161226000006283785","record_time":"2016-12-26 09:29:58"},{"id":"1001","user_id":"16101300000002","amount":"4","before_balance":"404261","after_balance":"404265","transid":"8650be56820db089d9e344c521415233","trans_type":"1","type":"goucai","comment":"T161226000006283785","record_time":"2016-12-26 09:29:58"},{"id":"1000","user_id":"16101300000002","amount":"5","before_balance":"404256","after_balance":"404261","transid":"67acfe2016d48f2e71289620866e8c42","trans_type":"1","type":"goucai","comment":"十一选五积分赠送活动T161226000006283783","record_time":"2016-12-26 09:20:02"},{"id":"999","user_id":"16101300000002","amount":"4","before_balance":"404252","after_balance":"404256","transid":"56fc73aa95f550a92cd2610056c251d8","trans_type":"1","type":"goucai","comment":"T161226000006283783","record_time":"2016-12-26 09:20:02"},{"id":"998","user_id":"16101300000002","amount":"5","before_balance":"404247","after_balance":"404252","transid":"b21dcf43a2891477d1892bd6e4f22881","trans_type":"1","type":"goucai","comment":"十一选五积分赠送活动T161226000006283784","record_time":"2016-12-26 09:20:02"},{"id":"997","user_id":"16101300000002","amount":"440","before_balance":"403807","after_balance":"404247","transid":"af3afdf95fd18425372695efa9d836b4","trans_type":"1","type":"goucai","comment":"T161226000006283784","record_time":"2016-12-26 09:20:01"},{"id":"996","user_id":"16101300000002","amount":"5","before_balance":"403802","after_balance":"403807","transid":"60e84184e6084390cb5f5b4b119d6f39","trans_type":"1","type":"goucai","comment":"十一选五积分赠送活动T161226000006283782","record_time":"2016-12-26 09:19:43"},{"id":"995","user_id":"16101300000002","amount":"220","before_balance":"403582","after_balance":"403802","transid":"97e63e049aa93dfc01708fb6a15b7103","trans_type":"1","type":"goucai","comment":"T161226000006283782","record_time":"2016-12-26 09:19:43"},{"id":"994","user_id":"16101300000002","amount":"5","before_balance":"403577","after_balance":"403582","transid":"eab9a0516d5c7dc77b94a86cfec99e87","trans_type":"1","type":"goucai","comment":"十一选五积分赠送活动T161226000006283781","record_time":"2016-12-26 09:09:58"},{"id":"993","user_id":"16101300000002","amount":"4","before_balance":"403573","after_balance":"403577","transid":"b4b58353933608227204b7ef8b0bf2e3","trans_type":"1","type":"goucai","comment":"T161226000006283781","record_time":"2016-12-26 09:09:58"},{"id":"992","user_id":"16101300000002","amount":"5","before_balance":"403568","after_balance":"403573","transid":"621fb6e9f5806a51e90976542ed86736","trans_type":"1","type":"goucai","comment":"十一选五积分赠送活动T161226000006283780","record_time":"2016-12-26 09:09:40"},{"id":"991","user_id":"16101300000002","amount":"220","before_balance":"403348","after_balance":"403568","transid":"1fc8320f7a66bd9f163c8b45cc386d9a","trans_type":"1","type":"goucai","comment":"T161226000006283780","record_time":"2016-12-26 09:09:40"},{"id":"990","user_id":"16101300000002","amount":"5","before_balance":"403343","after_balance":"403348","transid":"3c086e3e1e92c22ee03394b8ee6ef1cc","trans_type":"1","type":"goucai","comment":"十一选五积分赠送活动T161226000006282780","record_time":"2016-12-26 09:02:53"},{"id":"989","user_id":"16101300000002","amount":"6844","before_balance":"396499","after_balance":"403343","transid":"b793d6937a313ab8918d3566dcd5ab94","trans_type":"1","type":"goucai","comment":"T161226000006282780","record_time":"2016-12-26 09:02:52"},{"id":"988","user_id":"16101300000002","amount":"5","before_balance":"396494","after_balance":"396499","transid":"410d106786373240e2b7cae28c0ee30b","trans_type":"1","type":"goucai","comment":"十一选五积分赠送活动T161226000006283779","record_time":"2016-12-26 08:59:43"},{"id":"987","user_id":"16101300000002","amount":"220","before_balance":"396274","after_balance":"396494","transid":"5386eb12b0ecc5843bcae9d560fbd9ab","trans_type":"1","type":"goucai","comment":"T161226000006283779","record_time":"2016-12-26 08:59:43"},{"id":"986","user_id":"16101300000002","amount":"5","before_balance":"396269","after_balance":"396274","transid":"294e93ff46fd0385f7d7d32bc46887f2","trans_type":"1","type":"goucai","comment":"十一选五积分赠送活动T161226000006283778","record_time":"2016-12-26 08:54:51"},{"id":"985","user_id":"16101300000002","amount":"220","before_balance":"396049","after_balance":"396269","transid":"de4823d1c9b290739415741c4141a15e","trans_type":"1","type":"goucai","comment":"T161226000006283778","record_time":"2016-12-26 08:54:50"},{"id":"984","user_id":"16101300000002","amount":"5","before_balance":"396044","after_balance":"396049","transid":"d28a5b6c7f542b96dd55fd91a382d721","trans_type":"1","type":"goucai","comment":"十一选五积分赠送活动T161226000006283777","record_time":"2016-12-26 08:54:05"},{"id":"983","user_id":"16101300000002","amount":"110","before_balance":"395934","after_balance":"396044","transid":"b309a842de6eaabf1a4c03b82668dc10","trans_type":"1","type":"goucai","comment":"T161226000006283777","record_time":"2016-12-26 08:54:04"}]
     * page : 1
     * perpage : 20
     * totalpage : 35
     * total : 690
     */

    private ValueBean value;

    public String getErrorCode() {
        return errorCode;
    }

    public void setErrorCode(String errorCode) {
        this.errorCode = errorCode;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public ValueBean getValue() {
        return value;
    }

    public void setValue(ValueBean value) {
        this.value = value;
    }

    public static class ValueBean {
        private int page;
        private int perpage;
        private int totalpage;
        private String total;
        /**
         * id : 1002
         * user_id : 16101300000002
         * amount : 5
         * before_balance : 404265
         * after_balance : 404270
         * transid : a1c2515328495960940209d5c45d9308
         * trans_type : 1
         * type : goucai
         * comment : 十一选五积分赠送活动T161226000006283785
         * record_time : 2016-12-26 09:29:58
         */

        private List<DataBean> data;

        public int getPage() {
            return page;
        }

        public void setPage(int page) {
            this.page = page;
        }

        public int getPerpage() {
            return perpage;
        }

        public void setPerpage(int perpage) {
            this.perpage = perpage;
        }

        public int getTotalpage() {
            return totalpage;
        }

        public void setTotalpage(int totalpage) {
            this.totalpage = totalpage;
        }

        public String getTotal() {
            return total;
        }

        public void setTotal(String total) {
            this.total = total;
        }

        public List<DataBean> getData() {
            return data;
        }

        public void setData(List<DataBean> data) {
            this.data = data;
        }

        public static class DataBean {
            private String id;
            private String user_id;
            private String amount;
            private String before_balance;
            private String after_balance;
            private String transid;
            private String trans_type;
            private String type;    // chongzhi|yonghuxinxi|goucai|qiandao
            private String comment;
            private String record_time;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getUser_id() {
                return user_id;
            }

            public void setUser_id(String user_id) {
                this.user_id = user_id;
            }

            public String getAmount() {
                return amount;
            }

            public void setAmount(String amount) {
                this.amount = amount;
            }

            public String getBefore_balance() {
                return before_balance;
            }

            public void setBefore_balance(String before_balance) {
                this.before_balance = before_balance;
            }

            public String getAfter_balance() {
                return after_balance;
            }

            public void setAfter_balance(String after_balance) {
                this.after_balance = after_balance;
            }

            public String getTransid() {
                return transid;
            }

            public void setTransid(String transid) {
                this.transid = transid;
            }

            public String getTrans_type() {
                return trans_type;
            }

            public void setTrans_type(String trans_type) {
                this.trans_type = trans_type;
            }

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }

            public String getComment() {
                return comment;
            }

            public void setComment(String comment) {
                this.comment = comment;
            }

            public String getRecord_time() {
                return record_time;
            }

            public void setRecord_time(String record_time) {
                this.record_time = record_time;
            }
        }
    }
}
